package com.gibs.peixunapi.service;

import com.gibs.peixunapi.model.CourseSubjectHub;
import com.gibs.peixunapi.result.Result;

import javax.validation.Valid;

public interface CourseSubjectHubService {

    Result create(@Valid CourseSubjectHub object);

    Result save(@Valid CourseSubjectHub object);

    Result delete(Integer id);

    Result linkSubjectHubByCourseId(Integer courseId);

    Result getSubjectList(Integer courseId, String type);
}

